home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr27 / fwkcs200.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1995-01-16  |  8KB  |  239 lines

  1. @echo off
  2. if exist register.key goto rk
  3. cls
  4. echo.
  5. echo.
  6. echo      If you registered FWKCS(TM) Version 1.19 or later before 1995 Jan 16,
  7. echo      please copy your registration keyfile into this directory, and name
  8. echo      the keyfile REGISTER.KEY.  Then restart this INSTALL program.
  9. echo.
  10. echo      If you do not have an FWKCS registration key, please make sure
  11. echo      that your computer system's date is set to today's date.
  12. echo.
  13. echo.
  14. echo  To stop this program, press Ctrl+C, then y
  15. echo.
  16. pause
  17. :rk
  18. cls
  19. if not exist x_add.lst echo.
  20. echo            Your use of this software is at solely your own risk.
  21. echo            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  22. if not exist x_add.lst echo.
  23. echo This software is intended for use under DOS 3.30 or later, or in a suitable
  24. echo DOS session under a multitasking system (including IBM OS/2 2.0 or later).
  25. echo.
  26. echo    If you encounter any system conflicts when using this software,
  27. echo    please check your system configuration (and DOS session settings).
  28. echo.
  29. echo    If the problem remains, please advise the author at
  30. echo.
  31. echo    Internet email address     if no reply, write to    Fred Kantor
  32. echo    fred.kantor@factory.com                             523 West 112 Street
  33. echo                                                        New York, NY 10025
  34. echo.
  35. if exist x_add.lst echo Automatic exclusion list X_ADD.LST has been found, to add to data base.
  36. if exist x_add.lst echo.
  37. if exist register.key goto rk1
  38. echo Note: INSTALL lets you run an unregistered copy of FWKCS, with a copy of
  39. echo       REGISTER.FRM in the same directory with FWKCS.EXE. You can put the
  40. echo       \CSA directory on your PATH, and call FWKCS from anywhere on your
  41. echo       system.
  42. echo.
  43. echo The suggested test time is up to 30 days. To register, see REGISTER.FRM.
  44. echo                            ~~~~~~~~~~~~~
  45. :rk1
  46. pause
  47. cls
  48. echo Part of FWKCS(TM) Contents_Signature System, Version 2.00.
  49. echo (C)Copyright Frederick W. Kantor 1989, 1995. All rights reserved.
  50. echo.
  51. echo Your use of the FWKCS(TM) Contents_Signature System is at solely your own
  52. echo risk. For safety, please have proper backups of your files.
  53. echo.
  54. echo INSTALL.BAT to install the FWKCS(TM) Contents_Signature System, Ver. 2.00;
  55. echo  for use in same directory with FWKCS200.ZIP, FWKCS.200, and FWKCS_TM.200.
  56. echo.
  57. echo (More information provided as FWKCS.200 package is opened; see README.TXT.)
  58. echo.
  59. echo              If you are replacing FWKCS Ver. 1.12 or later, use REPLACE.BAT.
  60. echo              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  61. echo.
  62. echo  Usage:     INSTALL "<enter>"
  63. if .%1 == ./* goto end
  64. echo.
  65. echo.
  66. echo  To quit, press Ctrl+C, then y
  67. echo.
  68. pause
  69. if exist fwkcs200.zip attrib -r fwkcs200.zip > nul
  70. if exist fwkcs200.exe attrib -r fwkcs200.exe > nul
  71. if exist go.bat del go.bat > nul
  72. if exist go.bat attrib -r go.bat > nul
  73. if exist go.bat del go.bat > nul
  74. if exist replm200.200 del replm200.200 > nul
  75. if exist replm200.200 attrib -r replm200.200 > nul
  76. if exist replm200.200 del replm200.200 > nul
  77. if exist #@!#@!$$.@!@ del #@!#@!$$.@!@ > nul
  78. if exist #@!#@!$$.@!@ attrib -r #@!#@!$$.@!@ > nul
  79. if exist #@!#@!$$.@!@ del #@!#@!$$.@!@ > nul
  80. if exist $@!#@!$$.@!@ del $@!#@!$$.@!@ > nul
  81. if exist $@!#@!$$.@!@ attrib -r $@!#@!$$.@!@ > nul
  82. if exist $@!#@!$$.@!@ del $@!#@!$$.@!@ > nul
  83. if exist $@!#@$!$.@!@ del $@!#@$!$.@!@ > nul
  84. if exist $@!#@$!$.@!@ attrib -r $@!#@$!$.@!@ > nul
  85. if exist $@!#@$!$.@!@ del $@!#@$!$.@!@ > nul
  86. cls
  87. if not exist fwkcs200.exe goto n1
  88. if exist fwkhi.com del fwkhi.com > nul
  89. if exist fwkhi.com attrib -r fwkhi.com > nul
  90. if exist fwkhi.com del fwkhi.com > nul
  91. fwkcs200 -o fwkhi.com > nul
  92. if exist fwkhi.com goto n2
  93. :n1
  94. if not exist fwkcs.200 goto nd
  95. if not exist fwkcs_tm.200 goto cm
  96. ren fwkcs_tm.200 fwkcs_tm.com > nul
  97. fwkcs_tm < fwkcs.200 > fwkcs200.exe
  98. if errorlevel 1 goto fbad
  99. ren fwkcs_tm.com fwkcs_tm.200 > nul
  100. fwkcs200 -o fwkhi.com > nul
  101. if not exist fwkhi.com goto fz
  102. :n2
  103. cls
  104. echo.
  105. echo.
  106. echo.
  107. echo.
  108. echo.
  109. echo.
  110. echo  Do you wish to automatically capture the contents_signatures
  111. echo  of the files in FWKCS(TM) version 2.00 for future reference?  (Y/N)
  112. echo.
  113. echo  (Because of the way the files are packaged, this step is provided to make
  114. echo  it much easier to capture their contents_signatures. Unless you have a
  115. echo  good reason to not do so, it is suggested that you press Y for Yes.)
  116. echo.
  117. fwkhi /yn
  118. if not errorlevel 1 goto nocs
  119. cls
  120. if exist myowncsl.srt del myowncsl.srt > nul
  121. if exist myowncsl.srt attrib -r myowncsl.srt > nul
  122. if exist myowncsl.srt del myowncsl.srt > nul
  123. if exist fwkcs200.zip ren fwkcs200.zip $@!#@!$$.@!@ > nul
  124. fwkcs200 -o fwkcs.exe register.frm > nul
  125. if not exist fwkcs.exe goto nz
  126. if not exist register.key goto nk
  127. fwkcs /t20register[+register.key]
  128. fwkcs /t20register > nul
  129. if not errorlevel 98 goto wk
  130. echo.
  131. echo  Your REGISTER.KEY file was apparently defective.
  132. echo.
  133. echo  Continuing in unregistered mode...
  134. echo.
  135. :nk
  136. fwkcs
  137. if not errorlevel 99 goto id
  138. :wk
  139. ren fwkcs200.exe fwkcs200.zip > nul
  140. fwkcs /rt20/1 fwkcs200.zip #@!#@!$$.@!@ > nul
  141. ren fwkcs200.zip fwkcs200.exe > nul
  142. if exist $@!#@!$$.@!@ ren $@!#@!$$.@!@ fwkcs200.zip > nul
  143. if exist fwkcs200.zip fwkcs /t20/1 fwkcs200.zip >> #@!#@!$$.@!@
  144. if exist fwkcs200.zip goto kcz
  145. if exist #@@!##@_._$_ del #@@!##@_._$_ > nul
  146. if exist #@@!##@_._$_ attrib -r #@@!##@_._$_ > nul
  147. if exist FILE_ID.DIZ  echo FILE_ID.DIZ >   #@@!##@_._$_
  148. if exist README.1ST   echo README.1ST >>   #@@!##@_._$_
  149. if exist README.TXT   echo README.TXT >>   #@@!##@_._$_
  150. if exist WHATSNEW.TXT echo WHATSNEW.TXT >> #@@!##@_._$_
  151. if exist REGISTER.DOC echo REGISTER.DOC >> #@@!##@_._$_
  152. if exist REGISTER.FRM echo REGISTER.FRM >> #@@!##@_._$_
  153. if exist INSTALL.BAT  echo INSTALL.BAT >>  #@@!##@_._$_
  154. if exist REPLACE.BAT  echo REPLACE.BAT >>  #@@!##@_._$_
  155. if exist QIKSTART.BAT echo QIKSTART.BAT >> #@@!##@_._$_
  156. if exist GETLOOK.BAT  echo GETLOOK.BAT >>  #@@!##@_._$_
  157. if exist FWKCS.200    echo FWKCS.200 >>    #@@!##@_._$_
  158. if exist FWKCS_TM.200 echo FWKCS_TM.200 >> #@@!##@_._$_
  159. fwkcs /t20/1cp #@@!##@_._$_ >> #@!#@!$$.@!@
  160. del #@@!##@_._$_ > nul
  161. :kcz
  162. fwkcs #@!#@!$$.@!@ /rt20a7.8v",!" $@!#@$!$.@!@ > nul
  163. del #@!#@!$$.@!@ > nul
  164. fwkcs $@!#@$!$.@!@ /rt20s > nul
  165. if exist $$mt$$ del $$mt$$ > nul
  166. if exist $$mt$$ fwkcs /rt30a7.7c $$mt$$ > nul
  167. fwkcs $$mt$$ /rt30mn > nul
  168. fwkcs $@!#@$!$.@!@ $$mt$$ myowncsl.srt /rt20ms > nul
  169. del $$mt$$ > nul
  170. del $@!#@$!$.@!@ > nul
  171. del fwkcs.exe > nul
  172. :nocs
  173. fwkcs200 -o go.bat > nul
  174. if errorlevel 51 goto fz
  175. if errorlevel 50 goto ns
  176. if errorlevel 1 goto fz
  177. del fwkhi.com > nul
  178. go
  179. :nv200
  180. echo.
  181. echo  INSTALL.BAT is for use in the same directory together with
  182. echo  files  FWKCS.200  and  FWKCS_TM.200 .
  183. goto try
  184. :ns
  185. del fwkcs200.exe > nul
  186. echo.
  187. echo  There is apparently not enough space here for me to work in...
  188. echo.
  189. echo  After you have provided more space here, or moved my files to
  190. echo    another drive with enough space,
  191. goto try
  192. :fz
  193. del fwkcs200.exe > nul
  194. echo.
  195. echo  Error getting file(s).
  196. goto try
  197. :id
  198. if exist fwkcs200.exe del fwkcs200.exe > nul
  199. if exist $@!#@!$$.@!@ ren $@!#@!$$.@!@ fwkcs200.zip > nul
  200. del fwkcs.exe > nul
  201. del fwkhi.com > nul
  202. echo.
  203. echo  Bad system date!
  204. echo.
  205. echo  Execution aborted!
  206. echo.
  207. echo  After you have set your computer system's date to today's date,
  208. goto helpr
  209. :fbad
  210. del fwkcs200.exe > nul
  211. ren fwkcs_tm.com fwkcs_tm.200 > nul
  212. echo.
  213. echo  FWKCS.200 or FWKCS_TM.200 appears defective or incompatible.
  214. echo.
  215. echo  Execution aborted.
  216. :try
  217. echo.
  218. echo  Please clean up, and try again. See README.TXT.
  219. goto end
  220. :nz
  221. echo.
  222. echo Problem in running self_extraction.
  223. goto fbad
  224. :helpr
  225. echo.
  226. echo  Please try again...
  227. goto end
  228. :cm
  229. echo.
  230. echo  I need FWKCS_TM.200.
  231. echo.
  232. echo        I quit!
  233. goto end
  234. :nd
  235. echo.
  236. echo    Nothing to do!
  237. :end
  238. echo.
  239.